package net.toocruel.iqismart.entity.setting;

import net.toocruel.iqismart.entity.base.BaseEntity;

import javax.persistence.Entity;

/**
 * The type Setting.
 */
@Entity
public class SettingTime extends BaseEntity {
    private static final long serialVersionUID = 1749910132709345183L;
    private Integer diff = 0;
     private String timeFormat = "H:mm:ss";
     private String dateFormat = "yyyy-MM-dd";
     private Boolean friendly = true;
     private Integer offset = 8;

    public Integer getDiff() {
        return diff;
    }

    public void setDiff(Integer diff) {
        this.diff = diff;
    }

    public String getTimeFormat() {
        return timeFormat;
    }

    public void setTimeFormat(String timeFormat) {
        this.timeFormat = timeFormat;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }

    public Boolean getFriendly() {
        return friendly;
    }

    public void setFriendly(Boolean friendly) {
        this.friendly = friendly;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }
}